package com.tedu._04mybatis.mapper;

import com.tedu._04mybatis.pojo.Comment;
import com.tedu._04mybatis.pojo.CommentVO1;
import com.tedu._04mybatis.pojo.CommentVO2;
import org.apache.ibatis.annotations.*;

@Mapper
public interface CommentMapper {

    int insert(Comment comment);


    int deleteById(Integer id);


    int updateById(Comment comment);


    CommentVO1 selectCommentById1(Integer userId);


    CommentVO2 selectCommentById2(Integer weiboId);

    int dynamicUpdate(Comment comment);

    int dynamicDelete(Integer[] ids);
}
